package com.example.qxfw.nyqx.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.common.entity.ny.Quhuatu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
@DS("service")
public interface QuhuatuMapper extends BaseMapper<Quhuatu> {
    @Select("select distinct layer_name " +
            "from quhuatu " +
            "where qh_class = '${qhClass}' ")
    List<String> selectLayerName(String qhClass);
}
